<ion-content class="crm-content has-tabs-top" ng-controller="HotelRankListCtrl">
  <ion-refresher
          pulling-text="下拉刷新"
          on-refresh="rankList.refresh()">
  </ion-refresher>
  <ul class="list">
    <li class='item item-icon-right ink' style="padding-right: 0;padding-top: 9px;"
        ui-sref="app.hotel-rank-detail({id:rank.id})" ng-repeat="rank in rankList.data">
      <div class="row">
        <div class="col-66">
          <h2 style="font-size: 15px">{{EDIT_HOTEL.hotelName}}</h2>
          <p style="font-size: 15px">{{rank.createTime | date:'yyyy-MM-dd'}} &nbsp;&nbsp; 负责人：{{rank.userName}}</p>
        </div>
        <div class="col-33" style="padding-top: 8px;">
          <div class="text-right" style="font-size: 15px; padding-right: 30px;line-height: 30px;"><b class=" task-active">{{rankDict[rank.rank]}}</b></div>
          <span class="item-note">
            <i class="icon ion-chevron-right icon-accessory"></i>
          </span>
        </div>
      </div>
    </li>
    <li class='item text-center' ng-if="rankList.loaded && rankList.data.length==0">
      <p>暂无数据</p>
    </li>
  </ul>
  <ion-infinite-scroll
          ng-if="rankList.moreDataCanBeLoaded()"
          on-infinite="rankList.loadMore()"
          distance="5%"
          spinner="dots"
          immediate-check="false">
  </ion-infinite-scroll>
</ion-content>
